projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcc473
)
Zero a route head when alloced.
author
robertl
<robertl>
Wed, 20 Nov 2002 15:59:09 +0000
(15:59 +0000)
committer
robertl
<robertl>
Wed, 20 Nov 2002 15:59:09 +0000
(15:59 +0000)
route.c
patch
|
blob
|
history
diff --git
a/route.c
b/route.c
index 65752c90b3370a14d22743e878b85f40bb5edd54..8a8ea03fc87c0d485056b1b93479fbceff786aa0 100644
(file)
--- a/
route.c
+++ b/
route.c
@@
-33,7
+33,7
@@
route_head *
route_head_alloc(void)
{
route_head *rte_head;
- rte_head = x
malloc(sizeof (*rte_head)
);
+ rte_head = x
calloc(sizeof (*rte_head), 1
);
QUEUE_INIT(&rte_head->Q);
return rte_head;
}